package sketch.ounit;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

public class ObserverTest extends TestCase {
	public static Test suite() {
        return new TestSuite(ObserverTest.class);
    }
	
	public void testObserverMethod() {
		try {
			Observer.observeExpr("String");
			//fail();
		} catch (UnsupportedOperationException ex) {
			fail();
		}
		
		try {
			Observer.observeExpr(3, 1, 2, 3);
			fail();
		} catch (UnsupportedOperationException ex) {
			//ok
		}
	}
}
